Einhugur macOS Bridge plugin.

EinhugurMacOSBridge.NSView Class (desktop)

The infrastructure for drawing, printing, and handling events in an app.

EinhugurCoreBridge.NSObject
   NSView

class EinhugurMacOSBridge.NSView

Constructors

NSView (private) Private constructur.

Properties

ClassName (Inherited) (desktop - console) Returns the name of the Cocoa class under the hood as String.
Handle (Inherited) Returns Integer handle to the native NSObject structure.
HiddenA Boolean value indicating whether the view is hidden.
NeedsDisplayA Boolean value that determines whether the view needs to be redrawn before being displayed.
SubViewsReturns array as NSArray of views embedded in the current view.
SuperViewReturns the superview which is the immediate ancestor of the current view. The value of this property is nil when the view is not installed in a view hierarchy.
WindowThe view’s window object, if it is installed in a window.

Methods

AddSubviewAdds a view to the view’s subviews so it’s displayed above its siblings.
AddSubviewInserts a view among the view’s subviews so it’s displayed immediately above or below another view.
shared CastDoes deep cast on incoming NSObject to NSView
shared FromIntegerPtrConstructs NSView object from Integer handle coming from declares or 3rd party plugin.
shared FromPtrConstructs NSView object from Ptr coming from declares or 3rd party plugin.
shared InitWithFrameInitializes and returns a newly allocated NSView object with a specified frame rectangle.
Release (Inherited) Releases the NSObject.
RemoveFromSuperViewUnlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles.
Retain (Inherited) Retains the NSObject
SetFrameOriginSets the origin of the view’s frame rectangle to the specified point, effectively repositioning it within its superview.

Constants

Version = 5.0 (Inherited)

Supported Platforms:

  • macOS Intel 64 bit
  • macOS Apple Silicon
  • Unsupported Platforms:

  • Windows 32 bit
  • Windows 64 bit
  • Windows ARM 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM 32 bit
  • Linux ARM 64 bit